package com.panda.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("视频详情")
public class VideoDetailVo {

    @ApiModelProperty("视频id")
    private Long id;
    @ApiModelProperty("视频标题")
    private String title;
    @ApiModelProperty("视频详情")
    private String detail;
    //视频分类
    @ApiModelProperty("视频分类id")
    private Long categoryId;
    @ApiModelProperty("视频分类名")
    private String categoryName;
    //访问量
    @ApiModelProperty("访问量")
    private Long views;
    //点赞数
    @ApiModelProperty("点赞数")
    private Long likes;
    //视频链接
    @ApiModelProperty("视频链接")
    private String videoUrl;
    //视频时长
    @ApiModelProperty("视频时长")
    private Double duration;
    //封面
    @ApiModelProperty("封面")
    private String cover;
    //是否原创
    @ApiModelProperty("是否原创")
    private String copyright;
    @ApiModelProperty("创建人id")
    private Long createBy;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("创建人")
    private String username;
    @ApiModelProperty("创建人头像")
    private String avatar;
}
